# 导入依赖
import numpy as np

# 常量定义
N = 2048  # 窗长度
lsb = 2**26

# 窗函数选择
blackman_coeffs = np.blackman(N)

# 工具函数定义

win_coe = []

for i in range(N):
    win_coe.append(int(round(blackman_coeffs[i] * lsb)))

# 输出Blackman窗系数
print("Blackman Window Coefficients:")
print(blackman_coeffs)
print(win_coe)
